<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <script src="./ming_mock2.5.0.js"></script>
    <title>Document</title>
    <style>
        #iframId{
            width: 500px;
            height: 500px;
        }
    </style>
</head>
<body>

    <iframe src="" id="iframId" ></iframe>

</body>
</html>


<script type="module">
    import YongZhongOfficeApiPlugin from "./YongZhongOfficeApiPlugin.js";
    const yongzhong= new YongZhongOfficeApiPlugin({
        appId:"yozo98DUfaVB2331",
        appKey:"01531a6a6d5100adeaca25b8be05"
    })
    async function main(){
        await  app.use(yongzhong);
        let r=  MIO.viewFile("683688317560033281_0")
        document.querySelector("#iframId").setAttribute("src",r)
    }
    main()
</script>